<%--
  Created by IntelliJ IDEA.
  User: XiongMM
  Date: 2019/7/23
  Time: 下午9:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%!
    long count =0;
    synchronized void setCount(){
        count ++;
    }
%>

<%
    setCount();
    response.getWriter().write("您是第【"+count+"】个访问本站的客户");
%>

</body>
</html>
